// import auth from '@/constants/authority'

export const publicRoutes = [
  {
    path: '/login',
    title: 'login',
  },
]

export const privateRoutes = [
  {
    path: '/foo',
    title: 'foo',
    children: [
      {
        path: '/foo-1',
        title: '/foo-1',
      },
      {
        path: '/foo-2',
        title: '/foo-2',
      },
    ],
  },
  {
    path: '/dashboard',
    title: 'dashboard',
  },

]

export const redirectRoutes = [
  {
    path: '/404',
    component: '/redirect/no-match',
    title: 'no-match',
  },
  {
    path: '/403',
    component: '/redirect/unauthorized',
    title: 'unauthorized',
  },
  {
    path: '/500',
    component: '/redirect/server-error',
    title: 'no-match',
  },
  {
    path: '*',
    component: '/redirect/no-match-redirect',
    title: 'no-match-redirect',
  },
]
